/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pfc.generacion;

import java.util.ArrayList;

/**
 *
 * @author xandru
 */
public class HTMLDocument {

    HTMLTag _root;
    ArrayList<String> _jspImports = new ArrayList<String>();

    HTMLDocument()
    {
        _root = new HTMLTag("html");
    }

    public HTMLTag getHTMLRoot()
    {
        return _root;
    }

    void addJspImport(String string) {
        _jspImports.add("<%@page import=\"" + string + "\"%>" );
    }

    public Iterable<String> getJspImports()
    {
        return _jspImports;
    }

}
